package com.panshi.hujin2.httpcrawler.config;

import com.panshi.hujin2.httpcrawler.crawler.GmailCrawler;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author: wangxl
 * @Date: 2019/1/16 16:22
 */
@Component
public class DownloadPathConfig {

    //email bill pdf file download path
    public static String parentPath;

    @Value("${downloadPath}")
    public void setParentPath(String parentPath) {
        DownloadPathConfig.parentPath = parentPath;
    }

}
